package tjs.study.notes.tjsstudydotest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import tjs.study.notes.dotest.proxy.spring.springLoad.UserTestService;

/**
 * Created by Nicky.Tang on 2021/9/28 5:07 下午
 *
 * @since 02.12.10
 */
@RestController
@RequestMapping
public class UserTestController2 {
    @Autowired
    UserTestService userTestService;
//    @RequestMapping("/doTest3")//更改RequestMapping的映射路径，并不能动态加载
//    public String doTest() {
//        return userTestService.doTest();
//    }

    @RequestMapping("/doTest2")//更改RequestMapping的映射路径，并不能动态加载
    public String doTest2() {
        return "Hellow world 451 !";
    }
}
